package erfgame.core.world.terrain.async;

import java.util.concurrent.Executor;


import erfgame.core.dao.ObjectDAO;
import erfgame.core.memory.Pointer;

public class UnsafeAsyncPointerDAOProxy<KeyType, ObjectType> extends
		UnsafeAsyncObjectDAOProxy<KeyType, Pointer<ObjectType>> {

	public UnsafeAsyncPointerDAOProxy(
			ObjectDAO<KeyType, Pointer<ObjectType>> proxied, 
			Executor executor
	) {
		super( proxied, executor );
	}

	@Override
	protected Pointer<ObjectType> assign(Pointer<ObjectType> o) {
		return o.assign();
	}

	@Override
	protected void free(Pointer<ObjectType> o) {
		o.free();
	}
}
